set(src_dirs
            LED
            LCD
            IIC
            PCA9557
            KEY
            QMI8658
            ESP_TOUCH
            LVGL_PORT)

set(include_dirs
            LED
            LCD
            IIC
            PCA9557
            KEY
            QMI8658
            ESP_TOUCH
            LVGL_PORT)

set(requires
            driver
            fatfs
            esp_timer
            esp_lcd
            LVGL)

idf_component_register(SRC_DIRS ${src_dirs} INCLUDE_DIRS ${include_dirs} REQUIRES ${requires})

component_compile_options(-ffast-math -O3 -Wno-error=format=-Wno-format)